<script lang="ts" setup>
import {ref} from 'vue'
import {onLoad} from "@dcloudio/uni-app";

const url = ref('')
onLoad((item) => {
  url.value = decodeURIComponent(item!.url)
  uni.setNavigationBarTitle({
    title: item!.title
  })
})
</script>

<template>
  <view>
    <web-view :src="url"></web-view>
  </view>
</template>


<style lang="scss" scoped>

</style>
